package com.sc.nft.controller.request;

import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ConsensusChangeRequest  {
    @ApiModelProperty(value = "生态藏品Id")
    @NotNull(message = "请选择转入的生态藏品")
    private Long collectionId   ;

    @ApiModelProperty(value = "共识度")
    @NotNull(message = "请输入转入数量")
    private BigDecimal consensusNum   ;
    @ApiModelProperty( "支付密码")
    @NotBlank(message = "请输入支付密码")
    private String dealPwd;
}
